//package cn.wolfcode.myfilter;
//
//import javax.servlet.*;
//import javax.servlet.annotation.WebFilter;
//import java.io.IOException;
//@WebFilter("/*")
//public class AFilter implements Filter {
//    @Override
//    public void init(FilterConfig filterConfig) throws ServletException {
//        Filter.super.init(filterConfig);
//    }
//
//    @Override
//    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
//        System.out.println("A 放行前逻辑");
//        chain.doFilter(request,response);
//        System.out.println("A 放行后逻辑");
//    }
//
//    @Override
//    public void destroy() {
//        Filter.super.destroy();
//    }
//}
